﻿/*
 * Created by SharpDevelop.
 * User: xieen
 * Date: 2013-08-27
 * Time: 9:31
 * 
 * To change this template use Tools | Options | Coding | Edit Standard Headers.
 */
using System;

namespace GoF23Learning._23.Visitor_Pattern.Refactor
{
	/// <summary>
	/// Description of Line.
	/// </summary>
	public class Line :Shape
	{
		 
		public override void Draw()
		{
			Console.WriteLine("Line");
		}
		
		public override void Accept(ShapeVisitor visitor)
		{
			visitor.Visit(this);
		}
	}
}
